<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{finTransBean.id}"/>
		<f:event type="preRenderView" listener="#{finTransBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Fin Trans"/>

	<ui:define name="header">
		Fin Trans
	</ui:define>

	<ui:define name="subheader">
		View existing Fin Trans
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="finTransBeanFinTransRecNo" value="Rec No:"/>
			<h:outputText id="finTransBeanFinTransRecNo" value="#{finTransBean.finTrans.recNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransAccPeriodNo" value="Acc Period No:"/>
			<h:outputText id="finTransBeanFinTransAccPeriodNo" value="#{finTransBean.finTrans.accPeriodNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransAccPeriodMonthNo" value="Acc Period Month No:"/>
			<h:outputText id="finTransBeanFinTransAccPeriodMonthNo" value="#{finTransBean.finTrans.accPeriodMonthNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFinTransCodeShort" value="Fin Trans Code Short:"/>
			<h:outputText id="finTransBeanFinTransFinTransCodeShort" value="#{finTransBean.finTrans.finTransCodeShort}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFinTransCode" value="Fin Trans Code:"/>
			<h:outputText id="finTransBeanFinTransFinTransCode" value="#{finTransBean.finTrans.finTransCode}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransRecDate" value="Rec Date:"/>
			<h:outputText id="finTransBeanFinTransRecDate" value="#{finTransBean.finTrans.recDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransOrgNo" value="Org No:"/>
			<h:outputText id="finTransBeanFinTransOrgNo" value="#{finTransBean.finTrans.orgNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransLoanContractGrpNo" value="Loan Contract Grp No:"/>
			<h:outputText id="finTransBeanFinTransLoanContractGrpNo" value="#{finTransBean.finTrans.loanContractGrpNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFinTransTypeNo" value="Fin Trans Type No:"/>
			<h:outputText id="finTransBeanFinTransFinTransTypeNo" value="#{finTransBean.finTrans.finTransTypeNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransTransAmt" value="Trans Amt:"/>
			<h:outputText id="finTransBeanFinTransTransAmt" value="#{finTransBean.finTrans.transAmt}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransDocCode01" value="Doc Code 01:"/>
			<h:outputText id="finTransBeanFinTransDocCode01" value="#{finTransBean.finTrans.docCode01}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFromOrgNo" value="From Org No:"/>
			<h:outputText id="finTransBeanFinTransFromOrgNo" value="#{finTransBean.finTrans.fromOrgNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransToOrgNo" value="To Org No:"/>
			<h:outputText id="finTransBeanFinTransToOrgNo" value="#{finTransBean.finTrans.toOrgNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFromBankNo" value="From Bank No:"/>
			<h:outputText id="finTransBeanFinTransFromBankNo" value="#{finTransBean.finTrans.fromBankNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransToBankNo" value="To Bank No:"/>
			<h:outputText id="finTransBeanFinTransToBankNo" value="#{finTransBean.finTrans.toBankNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransTransStartDate" value="Trans Start Date:"/>
			<h:outputText id="finTransBeanFinTransTransStartDate" value="#{finTransBean.finTrans.transStartDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransTransEndDate" value="Trans End Date:"/>
			<h:outputText id="finTransBeanFinTransTransEndDate" value="#{finTransBean.finTrans.transEndDate}">
				<f:convertDateTime type="date"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransComment" value="Comment:"/>
			<h:outputText id="finTransBeanFinTransComment" value="#{finTransBean.finTrans.comment}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransStatusPosted" value="Status Posted:"/>
			<h:outputText id="finTransBeanFinTransStatusPosted" value="#{finTransBean.finTrans.statusPosted}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransCreatedUserNo" value="Created User No:"/>
			<h:outputText id="finTransBeanFinTransCreatedUserNo" value="#{finTransBean.finTrans.createdUserNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransCreatedDtm" value="Created Dtm:"/>
			<h:outputText id="finTransBeanFinTransCreatedDtm" value="#{finTransBean.finTrans.createdDtm}">
				<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransPayPartNo" value="Pay Part No:"/>
			<h:outputText id="finTransBeanFinTransPayPartNo" value="#{finTransBean.finTrans.payPartNo}"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFinTransTmd02FromOrgs" value="Fin Trans Tmd 02From Orgs:"/>
			<h:dataTable id="finTransBeanFinTransFinTransTmd02FromOrgs" styleClass="data-table" value="#{forgeview:asList(finTransBean.finTrans.finTransTmd02FromOrgs)}" var="_item"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFinTransTmd02FromSubOrgs" value="Fin Trans Tmd 02From Sub Orgs:"/>
			<h:dataTable id="finTransBeanFinTransFinTransTmd02FromSubOrgs" styleClass="data-table" value="#{forgeview:asList(finTransBean.finTrans.finTransTmd02FromSubOrgs)}" var="_item"/>
			<h:outputText/>
			<h:outputLabel for="finTransBeanFinTransFinTransDetails" value="Fin Trans Details:"/>
			<h:dataTable id="finTransBeanFinTransFinTransDetails" styleClass="data-table" value="#{forgeview:asList(finTransBean.finTrans.finTransDetails)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Acc No"/>
					</f:facet>
					<h:link outcome="/form/finTransDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemAccNo" value="#{_item.accNo}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Flag Dr Cr"/>
					</f:facet>
					<h:link outcome="/form/finTransDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemFlagDrCr" value="#{_item.flagDrCr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Jn Amt Dr"/>
					</f:facet>
					<h:link outcome="/form/finTransDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemJnAmtDr" value="#{_item.jnAmtDr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Jn Amt Cr"/>
					</f:facet>
					<h:link outcome="/form/finTransDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemJnAmtCr" value="#{_item.jnAmtCr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Status Posted"/>
					</f:facet>
					<h:link outcome="/form/finTransDetail/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemStatusPosted" value="#{_item.statusPosted}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>